<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport"
			content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
	</head>

	<body>
		<script src="js/mui.js"></script>
		<script type="text/javascript">
			mui.init({
				swipeBack:true, //启用右滑关闭功能
				keyEventBind: {
						backbutton: false  //关闭back按键监听
					}
			})
			// mui.plusReady(function() {
			// 			//获得当前页面的对象 
			// 			var self = plus.webview.currentWebview();
			// 			var name = self.name;
			// 			//name 为传递的参数的键 				
			// 			console.log(name);
			// 			})
		</script>
		<div class="mui-content">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell">Item 1</li>
				<li class="mui-table-view-cell">Item 2</li>
				<li class="mui-table-view-cell">Item 3</li>
				<li class="mui-table-view-cell">Item 1</li>
				<li class="mui-table-view-cell">Item 2</li>
				<li class="mui-table-view-cell">Item 3</li>
				<li class="mui-table-view-cell">Item 1</li>
				<li class="mui-table-view-cell">Item 2</li>
				<li class="mui-table-view-cell">Item 3</li>
				<li class="mui-table-view-cell">Item 1</li>
				<li class="mui-table-view-cell">Item 2</li>
				<li class="mui-table-view-cell">Item 3</li>

			</ul>
		</div>
		<script>
		window.onload = function(){
		  //从服务器获取数据
		  //业务数据获取完毕，并已插入当前页面DOM；
		  //注意：若为ajax请求，则需将如下代码放在处理完ajax响应数据之后；
		  mui.plusReady(function(){
		  setTimeout(function(){
			  //关闭等待框
			  plus.nativeUI.closeWaiting();
			  //显示当前页面
			  mui.currentWebview.show();
			  
			  
		  },1000)
		  });
		}
		
		</script>
		
	</body>

</html>
